/*
 *  Copyright 2005 Blandware (http://www.blandware.com)
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.blandware.atleap.persistence.exception;

/**
 * <p>Thrown when some object cannot be updated for some reason</p>
 * <p><a href="UpdateException.java.html"><i>View source</i></a></p>
 *
 * @author Roman Puchkovskiy <a href="mailto:roman.puchkovskiy@blandware.com">
 *         &lt;roman.puchkovskiy@blandware.com&gt;</a>
 * @version $Revision: 1.1 $ $Date: 2005/11/28 15:58:02 $
 */
public class UpdateException extends Exception {

    /**
     * Creates a new instance of DeleteException without detail message.
     */
    public UpdateException() {
    }

    /**
     * Constructs an instance of UpdateException with the specified detail message.
     *
     * @param msg The detail message.
     */
    public UpdateException(String msg) {
        super(msg);
    }

    /**
     * Creates an instance of DeleteException with nested exception
     *
     * @param e Nested exception
     */
    public UpdateException(Exception e) {
        super(e);
    }

    /**
     * Overrides toString() method in java.lang.Exception
     */
    public String toString() {
        return "com.blandware.atleap.persistence.exception.UpdateException";
    }
}
